package nuc.ss.novel.entity;

import java.util.Date;

/**
 * @author : zzr
 * @description :这是记录用户阅读历史
 * @date :2024_12_18
 */
public class History {

    //收藏id
    private Integer id;
    //用户id
    private Integer userId;
    //小说名称
    private String novelName;
    //章节id
    private Integer chapterId;
    //章节名称
    private String title;
    //添加时间
    private Date createTime;
    //更新时间
    private Date updateTime;

    //get and set method

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getChapterId() {
        return chapterId;
    }

    public void setChapterId(Integer chapterId) {
        this.chapterId = chapterId;
    }

    public String getNovelName() {
        return novelName;
    }

    public void setNovelName(String novelName) {
        this.novelName = novelName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
